package com.example.lrhdemo.service;

import com.example.lrhdemo.entity.Product;

import java.util.List;

/**
 * @Author lrh
 * @Date 2025/5/21 13:13
 * @Version 1.0
 */
public interface ProductService {

    List<Product> getAllProducts();

    Product getProductById(Long id);

    Product saveProduct(Product product);

    void deleteProduct(Long id);
}    